<div {{ attributes }} class="d-grid" {{ sylius_test_html_attribute('attribute-autocomplete') }}>
    <input
        name="product_attributes"
        data-model="selectedAttributeCodes"
        {{ stimulus_controller('@sylius/admin-bundle/product-attribute-autocomplete', {
            url: path('sylius_admin_entity_autocomplete', { alias: 'sylius_admin_product_attribute', 'extra_options': extra_options }),
            selectedAttributeCodes: selected_attribute_codes|join(','),
        }) }}
    />
</div>
